#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#include "client_event.h"
#include "connect_server.h"
#include "print_header.h"

int main(int argc, char *argv[]) {
  print_header();
  int sockfd = connect_server(argv[1], argv[2]);
  client_event(sockfd);
  close(sockfd);
  return 0;
}
